﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Addresses.ascx.cs" Inherits="CustomAddress" %>
    
    <div class="ExampleView">   
        The following row layout is obtained using a custom entity template defined in the 
        ~/DynamicData/EntityTemplates/Addresses.ascx control.
    </div>

    <br /><br />

    <tr class="DDLightHeader">
        <td colspan="4" align="center" style="color:Blue">Address Entry</td>
    </tr>

    <tr class="DDLightHeader" >
        <td  style="color:Blue" > 
            <asp:Label ID="Label1" runat="server"   Text="Street:" />
        </td>
        <td colspan="3" style="color:Red">
            <asp:DynamicControl ID="DynamicControl1" runat="server" DataField="AddressLine1" />
        </td>
    </tr>
   
    <%-- City and State/Province entries --%>
    <tr class="DDLightHeader">
        <td style="color:Blue"> 
            <asp:Label ID="Label2" runat="server"   Text="City:" />
        </td>
        <td style="color:Red">
            <asp:DynamicControl ID="DynamicControl3" runat="server" DataField="City" />
        </td>
   
        <td style="color:Blue"> 
            <asp:Label ID="Label3" runat="server"   Text="State/Province:" />
        </td>
        <td style="color:Red">
            <asp:DynamicControl ID="DynamicControl4" runat="server" DataField="StateProvince" />
        </td>
    </tr>
    
     <%-- Country/Region and Postal Code entries --%>
    <tr class="DDLightHeader">
        <td style="color:Blue"> 
            <asp:Label ID="Label4" runat="server"   Text="Country/Region:" /> 
        </td>
        <td style="color:Red">
            <asp:DynamicControl ID="DynamicControl2" runat="server" DataField="CountryRegion" />
        </td>
        <td style="color:Blue">
            <asp:Label ID="Label5" runat="server"   Text="Zip Code:" />
        </td>
        <td style="color:Red">
            <asp:DynamicControl ID="DynamicControl6" runat="server" DataField="PostalCode" />
        </td>
    </tr>

